package com.ytjj.qmyx.admin.service;

import com.ytjj.common.api.CommonPage;
import com.ytjj.qmyx.admin.model.dto.ForumProductDto;
import com.ytjj.qmyx.admin.model.request.forum.ForumLiveInfoRequest;
import com.ytjj.qmyx.admin.model.request.forum.ForumLiveRequest;
import com.ytjj.qmyx.admin.model.response.ForumLiveProductResponse;
import com.ytjj.qmyx.mall.model.ForumLive;
import com.ytjj.qmyx.mall.model.ProductCategory;

import java.util.List;

/**
 * @Description TODO
 * @ClassName ForumLiveService
 *
 * 
 * @Version 1.0
 **/
public interface ForumLiveService {

    void addForumLive(ForumLiveRequest forumLiveRequest);

    void editForumLive(ForumLiveRequest forumLiveRequest);

    void removeForumLive(Integer id);

    CommonPage<ForumLiveProductResponse> getForumLiveProductList(Integer id, Integer pageSize, Integer pageNum);

    List<ForumProductDto> searchProduct(Integer productId, String productName, String platformData);

    void addForumProduct(Integer productId, Integer forumLiveId);

    void deleteForumProduct(Integer id);

    void updateForumProductSort(Integer id, Integer sort);

    CommonPage<ForumLive> getForumLiveList(Integer status, Integer pageSize, Integer pageNum);

    void removeForum(Integer id);

    List<ProductCategory> getCategory();

    CommonPage<ForumLiveProductResponse> searchForumLiveProductList(ForumLiveInfoRequest forumLiveInfoRequest);

    void updateIsRecommend(Integer forumLiveId, Integer productId, Integer isRecommend);
}
